import { Routes } from '@angular/router';
import { InfoService } from './basic-demo/info.service';

export const routes: Routes = [
  {
    path: 'basic-demo',
    providers: [InfoService],
    loadComponent: () =>
      import('./basic-demo/info-demo.component'),
  },
  {
    path: 'environment-injector',
    loadChildren: () =>
      import('./environment-injector/routes'),
  },
  {
    path: 'element-injector',
    loadChildren: () => import('./element-injector/routes'),
  },
];
